import React from 'react'
import { Row } from 'antd'

class Index extends React.Component {
    componentWillMount() {
        if (!localStorage.token) {
            this.props.history.replace('/Login')
            return
        }
        React.$axios.get('/BrandPublicity/GetBrandPublicityList')
    }

    render() {
        return (
            <Row style={{ height: '100vh' }} type="flex" align="middle" justify="center">
                <h1 style={{ fontSize: '50px' }}>欢迎登录专题页管理后台！</h1>
            </Row>
        )
    }
}

export default Index